package com.dxk.service;


import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Service //dubbo下的service  可以配扫描到一启动就可以被注册到注册中心
@Component //放入容器中
public class TickServiceImpl implements TickService {
    @Override
    public String getTicket() {
        return "或者是你在我这！";
    }
}
